package com.yanqu.road.entity.activity.douluodalu.log;

import com.yanqu.road.entity.DataObject;
import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.player.UserBaseInfo;

/**
 * 试炼（宝库日志）
 */
@FieldTypeAnnotation(tableName = "t_c_douluodalu_baoku_notice")
public class DouLuoDaLuTryTrainRecordData extends DataObject {

    @FieldTypeAnnotation(select = true, update = true, desc = "活动ID")
    private int activityId;
    @FieldTypeAnnotation(desc = "组ID")
    private int groupId;
    @FieldTypeAnnotation(desc = "用户ID")
    private long userId;

    @FieldTypeAnnotation(desc = "用户信息")
    private UserBaseInfo userBaseInfo;

    @FieldTypeAnnotation(desc = "奖励ID")
    private int rewardId;

    @FieldTypeAnnotation(desc = "时间")
    private long time;

    public DouLuoDaLuTryTrainRecordData() {
    }

    public DouLuoDaLuTryTrainRecordData(int activityId, int groupId, long userId) {
        this.activityId = activityId;
        this.groupId = groupId;
        this.userId = userId;
        setInsertOption();
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        this.groupId = groupId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public UserBaseInfo getUserBaseInfo() {
        return userBaseInfo;
    }

    public void setUserBaseInfo(UserBaseInfo userBaseInfo) {
        this.userBaseInfo = userBaseInfo;
    }

    public int getRewardId() {
        return rewardId;
    }

    public void setRewardId(int rewardId) {
        this.rewardId = rewardId;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }
}
